import request from "../../utils/request"
const getCard=(id:string)=>{//获取打卡记录
    return request({
        url:`/user/getCar/${id}`,
        method:"get",
    })
}
const getMessage=(id:string)=>{//获取消息
    return request({
        url:"/user/getMessage/"+id,
        method:"get"
    })
}

const getApply=(id:string)=>{//获取申请记录
    return request({
        url:"/user/getApply/"+id,
        method:"get"
    })
}

const getUserList=()=>{//获取用户列表
    return request({
        url:"/user/list",
        method:"get"
    })
}

export {getCard,getMessage,getApply,getUserList}